home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
sbin
/
update-grub
< prev
next >
Wrap
Text File
|
2008-10-21
|
466b
|
22 lines
#!/bin/sh
#
# Wrapper to warn user about kernel-img.conf move
#
if grep -q ' */sbin/update-grub$' /etc/kernel-img.conf 2> /dev/null ; then
cat >&2 <<EOF
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.
1. /usr/share/doc/grub/NEWS.Debian.gz
EOF
fi
if [ -x /usr/sbin/update-grub ]; then
exec /usr/sbin/update-grub "$@"
else
echo "Your /usr is broken, please fix it before call this wrapper!" >&2
fi